package ExecuteEngine;

import java.util.List;
import Const.RC;

public abstract class Operation {
	public abstract RC.rc Open();
	public abstract boolean hasNext();
	public abstract Tuple GetNext();
	public abstract void Close();
	public abstract List<String> GetTitles();
	
	public int type = -1;
	public final static int SELECT = 1;
	public final static int DELETE = 2;
	public final static int PROJECT = 3;
	public final static int SORT = 4;
	public final static int CROSSPRODUCT = 5;
	public final static int TABLESCAN = 6;
	public final static int UPDATE = 7;
	public final static int INDEXSELECT = 8;
	public final static int SPECIALOP = 9;
}
